package cn.hxth.cloud.provider.factory;


import cn.hxth.cloud.provider.builder.ProductionOrderBuilder;
import cn.hxth.cloud.api.common.bean.SpringApplicationContext;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ProductionOrderBuilderFactory {
    @Resource
    private SpringApplicationContext context ;
    public ProductionOrderBuilder getProductionOrderBuilder(){
        return context.getBean(ProductionOrderBuilder.class) ;
    }
}
